package groupb6.shopsystem.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

@ApiModel(value = "Return", description = "订单退货表")
@Data
public class Return {
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("所属订单id")
    private Integer orderId;
    @ApiModelProperty("退货状态")
    private Integer status;
    @ApiModelProperty("退款金额")
    private Float refund;
    @ApiModelProperty("退货发货时间")
    private Timestamp deliverTime;
    @ApiModelProperty("退货结束时间")
    private Timestamp finishTime;
    @ApiModelProperty("商家是否同意退货")   // -1 未回应；0 拒绝；1 同意
    private Integer allowed;
    @ApiModelProperty("退货原因")   // -1 未回应；0 拒绝；1 同意
    private String reason;
    @ApiModelProperty("物流单号")   // -1 未回应；0 拒绝；1 同意
    private String trackingNumber;
}
